From: Carlos Garnacho Date: Tue, 24 May 2022 20:07:27 +0000 (+0200) Subject: keyboard: Set up emoji panel pan gesture in capture phase X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~336 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=da3d4e82e359e7aca63652c6d8e4f4ba2c71b722;p=gnome-shell.git keyboard: Set up emoji panel pan gesture in capture phase We need this to catch events before they reach to the emoji keys, and the gesture can begin/end properly. Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index b9e3aec60..570d39ccb 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -706,7 +706,7 @@ var EmojiPager = GObject.registerClass({ panAction.connect('gesture-cancel', this._onPanCancel.bind(this)); panAction.connect('gesture-end', this._onPanEnd.bind(this)); this._panAction = panAction; - this.add_action(panAction); + this.add_action_full('pan', Clutter.EventPhase.CAPTURE, panAction); } get delta() {